﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddProduct.aspx.cs" Inherits="Manageweb_ManageProduct_AddProduct" ValidateRequest="false" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    
<link href="../images/css.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="750" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td style="background-color:#507cd1; color:White; font-weight:bold; text-align:left;">
            &nbsp;管理产品
            <asp:Label ID="LB_ID" runat="server" Visible="False"></asp:Label></td>
      </tr>
    </table>
    <br />
    <table width="750" border="1" cellspacing="0" cellpadding="0" id="TABLE_ModImage" runat="server">
      <tr>
        <td colspan="2" style="font-weight: bold; color: white; background-color: #507cd1; text-align: left">&nbsp;修改图片</td>
      </tr>
      <tr>
        <td style="width:150px;">&nbsp;</td>
        <td style="text-align: left">
            <asp:FileUpload ID="FU_ModImage" runat="server" />&nbsp;<asp:Button ID="Btn_ModImage"
                runat="server" OnClick="Btn_ModImage_Click" Text="修改" ValidationGroup="Btn_ModImage" />
            <asp:RequiredFieldValidator ID="RFV_FU_ModImage" runat="server" ControlToValidate="FU_ModImage"
                Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_ModImage" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
      </tr>
    </table>
    <asp:Label id="LB_AddProduct" runat="server" ForeColor="Red" Font-Size="Small" Font-Bold="True"></asp:Label>
    <div id="aa" style="width:100%; text-align:center; color:Red; font-weight:bold; font-size:16px;"></div>
    <table width="750" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2" style="background-color:#507cd1; color:White; font-weight:bold; text-align:left;">&nbsp;<asp:Label ID="LB_TableTitle" runat="server"></asp:Label></td>
      </tr>
      <tr>
        <td style="width:150px;">&nbsp;标题</td>
        <td style="text-align: left">&nbsp;<asp:TextBox ID="TB_Title" runat="server" Width="240px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFV_TB_Title" runat="server" ControlToValidate="TB_Title"
                Display="Dynamic" ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td>&nbsp;类别</td>
        <td style="text-align: left">&nbsp;<asp:DropDownList ID="DDL_Class" runat="server" Width="246px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RFV_DDL_Class" runat="server" ControlToValidate="DDL_Class"
                Display="Dynamic" ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td>&nbsp;图片</td>
        <td style="text-align: left">&nbsp;<asp:FileUpload ID="FU_Thumb" runat="server" Width="246px" />
            <asp:Image ID="IMG_Thumb" runat="server" Height="120px" Width="160px" />
            <asp:Label ID="LB_SmallThumb" runat="server" Visible="False"></asp:Label>
            <asp:Label ID="LB_Thumb" runat="server" Visible="False"></asp:Label></td>
      </tr>
      <tr>
        <td>&nbsp;简介</td>
        <td style="text-align: left">&nbsp;<asp:TextBox ID="TB_Intro" runat="server" Height="50px" TextMode="MultiLine"
                Width="240px"></asp:TextBox></td>
      </tr>
      <tr>
        <td>&nbsp;选项</td>
        <td style="text-align: left">&nbsp;<asp:CheckBox ID="CB_IsLock" runat="server" Text="是否锁定" />
            <asp:CheckBox ID="CB_Index" runat="server" Text="是否首页推荐" /></td>
      </tr>
      <tr>
        <td>&nbsp;详细</td>
        <td style="text-align: left">
            <ftb:freetextbox id="FTB_Content" runat="server"
                toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker
                |Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat
                |JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save
                |SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime
                |InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn
                |InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell" ImageGalleryPath="~/UploadFTB/">
            </ftb:freetextbox>
        </td>
      </tr>
      <tr>
        <td colspan="2" style="background-color:#507cd1; color:White; font-weight:bold;">
            <asp:Button ID="Btn_Submit" runat="server" Text="提交" />&nbsp;<asp:Button ID="Btn_Cancel"
                runat="server" Text="取消" /></td>
      </tr>
    </table>
    </div>
    </form>
</body>
</html>
